<?php
interface Epic_Db_Adapter_Interface
{
    function connect();
    function disconnect(); 
    function query($query);
    function fetchOne(); 
    function fetchAll();
    function select($table = '', $where = '', $fields = '*', $order = '', $limit = null, $offset = null);
    function insert($table, array $data);
    function update($table, array $data, $where = '');
    function delete($table, $where = '');
    function getInsertId();  
    function countRows(); 
    function getAffectedRows();
}